package com.octoplay.player;

import android.view.KeyEvent;
import android.view.View;

/**
 * Interface definition for callbacks
 */
public interface PlayerListener {

	public abstract void onPlaybackComplete(BaseMediaPlayer mediaPlayer);

	public abstract void onNativeSeekComplete(BaseMediaPlayer mediaPlayer);

	public abstract void onPrepared(BaseMediaPlayer mediaPlayer);

	public abstract void onPlayerError(BaseMediaPlayer mediaPlayer, String error);

	public abstract void onPlayerClicked(BaseMediaPlayer mediaPlayer);
	
	public abstract void  onKey(View v, int keyCode, KeyEvent event);

}